package com.rybbaby.tss.front.tssAppUserCorrelationBaby.service;

import com.rybbaby.tss.core.web.service.IBaseService;
import com.rybbaby.tss.front.tssAppUser.entity.TssAppUser;
import com.rybbaby.tss.front.tssAppUserCorrelationBaby.entity.TssAppUserCorrelationBaby;

import java.io.Serializable;
import java.util.List;

public interface ITssAppUserTssAppUserCorrelationBabyService extends IBaseService<TssAppUserCorrelationBaby> {
    /**
     * App用户关联宝宝
     *
     * @param appUserId app用户Id
     * @param relation  关系
     * @param studentId 学生Id
     * @return
     */
    Serializable correlationBaby(String appUserId, Integer relation, String studentId);

    /**
     * 删除关联宝宝
     *
     * @param appUserCorrelationBabies 关联对象
     * @param familyMemberIds          家人id
     */
    void deleteBaby(List<TssAppUserCorrelationBaby> appUserCorrelationBabies, List<String> familyMemberIds);
}